﻿using System;
using System.Runtime.InteropServices;

namespace QuotationService.RealtimeQuotation
{
    /// <summary>
    /// 档位信息
    /// </summary>
    [StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
    internal struct OrderBook
    {
        /// <summary>
        /// 买价
        /// </summary>
        public double BuyPrice;

        /// <summary>
        /// 买量
        /// </summary>
        public Int64 BuyQty;

        /// <summary>
        /// 卖价
        /// </summary>
        public double SellPrice;

        /// <summary>
        /// 卖量
        /// </summary>
        public Int64 SellQty;
    }
}
